package com.elric.mall.mapper;

import com.elric.mall.model.InvestCalc;
import com.elric.mall.model.InvestCalcExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface InvestCalcMapper {
    long countByExample(InvestCalcExample example);

    int deleteByExample(InvestCalcExample example);

    int deleteByPrimaryKey(String id);

    int insert(InvestCalc record);

    int insertBatch(List<InvestCalc> record);

    int insertSelective(InvestCalc record);

    List<InvestCalc> selectByExample(InvestCalcExample example);

    InvestCalc selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") InvestCalc record, @Param("example") InvestCalcExample example);

    int updateByExample(@Param("record") InvestCalc record, @Param("example") InvestCalcExample example);

    int updateByPrimaryKeySelective(InvestCalc record);

    int updateByPrimaryKey(InvestCalc record);
}